const express = require('express')

const app = express()

// 在这里需要调用express.static()方法，快速的对外提供静态资源
// app.use(express.static('./clock'))
app.use(express.static('./files'))

// 挂载路径前缀
// app.use('/clock', express.static('./clock'))
app.use('files', express.static('./files'))


app.listen(80, () => {
  console.log('80端口服务启动了...');
})